package com.yz.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yz
 * @create 2021-11-03 18:41
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Catelog2Vo {
    //1级父分类id
    private String catalog1Id;
    //三级子分类
    private List<Catelog3Vo> catalog3List;
    private String id;
    private String name;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class Catelog3Vo{
        private String catalog2Id;

        private String id;
        private String name;
    }
}
